Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 [security] Update rails 6.1.7.2 → 6.1.7.6 (patch) #322

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Aug 23, 2023


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rails (6.1.7.2 → 6.1.7.6) · Repo

Release Notes

6.1.7.6

More info than we can show here.

6.1.7.5

More info than we can show here.

6.1.7.4

More info than we can show here.

6.1.7.3

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ minitest (5.17.0 → 5.20.0) · Repo · Changelog

Release Notes

5.20.0 (from changelog)

More info than we can show here.

5.19.0 (from changelog)

More info than we can show here.

5.18.1 (from changelog)

More info than we can show here.

5.18.0 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actioncable (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionmailbox (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

↗️ actionmailer (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionpack (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Security Advisories 🚨

🚨 Possible XSS via User Supplied Values to redirect_to

The redirect_to method in Rails allows provided values to contain characters
which are not legal in an HTTP header value. This results in the potential for
downstream services which enforce RFC compliance on HTTP response headers to
remove the assigned Location header. This vulnerability has been assigned the
CVE identifier CVE-2023-28362.

Versions Affected: All. Not affected: None Fixed Versions: 7.0.5.1, 6.1.7.4

Impact

This introduces the potential for a Cross-site-scripting (XSS) payload to be
delivered on the now static redirection page. Note that this both requires
user interaction and for a Rails app to be configured to allow redirects to
external hosts (defaults to false in Rails >= 7.0.x).

Releases

The FIXED releases are available at the normal locations.

Workarounds

Avoid providing user supplied URLs with arbitrary schemes to the redirect_to
method.

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actiontext (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionview (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Security Advisories 🚨

🚨 DOM Based Cross-site Scripting in rails-ujs for contenteditable HTML Elements

NOTE: rails-ujs is part of Rails/actionview since 5.1.0.

There is a potential DOM based cross-site scripting issue in rails-ujs
which leverages the Clipboard API to target HTML elements that are
assigned the contenteditable attribute. This has the potential to
occur when pasting malicious HTML content from the clipboard that
includes a data-method, data-remote or data-disable-with attribute.

This vulnerability has been assigned the CVE identifier CVE-2023-23913.

Not affected: < 5.1.0
Versions Affected: >= 5.1.0
Fixed Versions: 6.1.7.3, 7.0.4.3

Impact
If the specified malicious HTML clipboard content is provided to a
contenteditable element, this could result in the arbitrary execution
of javascript on the origin in question.

Releases
The FIXED releases are available at the normal locations.

Workarounds
We recommend that all users upgrade to one of the FIXED versions.
In the meantime, users can attempt to mitigate this vulnerability
by removing the contenteditable attribute from elements in pages
that rails-ujs will interact with.

Patches
To aid users who aren’t able to upgrade immediately we have provided
patches for the two supported release series. They are in git-am
format and consist of a single changeset.

  • rails-ujs-data-method-contenteditable-6-1.patch - Patch for 6.1 series
  • rails-ujs-data-method-contenteditable-7-0.patch - Patch for 7.0 series

Please note that only the 7.0.Z and 6.1.Z series are
supported at present, and 6.0.Z for severe vulnerabilities.

Users of earlier unsupported releases are advised to upgrade as
soon as possible as we cannot guarantee the continued availability
of security fixes for unsupported releases.

Credits
We would like to thank ryotak 15 for reporting this!

  • rails-ujs-data-method-contenteditable-6-1.patch (8.5 KB)
  • rails-ujs-data-method-contenteditable-7-0.patch (8.5 KB)
  • rails-ujs-data-method-contenteditable-main.patch (8.9 KB)
Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activejob (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activemodel (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activerecord (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activestorage (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activesupport (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Security Advisories 🚨

🚨 Possible File Disclosure of Locally Encrypted Files

There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037.

Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.7.1, 6.1.7.5

Impact

ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file’s permissions are defaulted to the user’s current umask settings, meaning that it’s possible for other users on the same system to read the contents of the temporary file.

Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it.

All users running an affected release should either upgrade or use one of the workarounds immediately.

Releases

The fixed releases are available at the normal locations.

Workarounds

To work around this issue, you can set your umask to be more restrictive like this:

$ umask 0077

🚨 Possible XSS Security Vulnerability in SafeBuffer#bytesplice

There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
This vulnerability has been assigned the CVE identifier CVE-2023-28120.

Versions Affected: All. Not affected: None Fixed Versions: 7.0.4.3, 6.1.7.3

Impact

ActiveSupport uses the SafeBuffer string subclass to tag strings as html_safe after they have been sanitized.
When these strings are mutated, the tag is should be removed to mark them as no longer being html_safe.

Ruby 3.2 introduced a new bytesplice method which ActiveSupport did not yet understand to be a mutation.
Users on older versions of Ruby are likely unaffected.

All users running an affected release and using bytesplice should either upgrade or use one of the workarounds immediately.

Workarounds

Avoid calling bytesplice on a SafeBuffer (html_safe) string with untrusted user input.

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ concurrent-ruby (indirect, 1.2.0 → 1.2.2) · Repo · Changelog

Release Notes

1.2.2

More info than we can show here.

1.2.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ date (indirect, 3.3.3 → 3.3.4) · Repo

Release Notes

3.3.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ globalid (indirect, 1.1.0 → 1.2.1) · Repo · Changelog

Release Notes

1.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ i18n (indirect, 1.12.0 → 1.14.1) · Repo · Changelog

Release Notes

1.14.1

More info than we can show here.

1.14.0

More info than we can show here.

1.13.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ loofah (indirect, 2.19.1 → 2.22.0) · Repo · Changelog

Release Notes

2.22.0

More info than we can show here.

2.21.4

More info than we can show here.

2.21.3

More info than we can show here.

2.21.2

More info than we can show here.

2.21.1

More info than we can show here.

2.21.0

More info than we can show here.

2.20.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-imap (indirect, 0.3.4 → 0.4.9.1) · Repo

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-protocol (indirect, 0.2.1 → 0.2.2) · Repo

Release Notes

0.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-smtp (indirect, 0.3.3 → 0.4.0.1) · Repo · Changelog

Release Notes

0.4.0.1

More info than we can show here.

0.4.0

More info than we can show here.

0.3.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rails-dom-testing (indirect, 2.0.3 → 2.2.0) · Repo

Release Notes

2.2.0

More info than we can show here.

2.1.1

More info than we can show here.

2.1.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rails-html-sanitizer (indirect, 1.5.0 → 1.6.0) · Repo · Changelog

Release Notes

1.6.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ railties (indirect, 6.1.7.2 → 6.1.7.6) · Repo · Changelog

Release Notes

6.1.7.6 (from changelog)

More info than we can show here.

6.1.7.5 (from changelog)

More info than we can show here.

6.1.7.4 (from changelog)

More info than we can show here.

6.1.7.3 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rake (indirect, 13.0.6 → 13.1.0) · Repo · Changelog

Release Notes

13.1.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ sprockets (indirect, 4.2.0 → 4.2.1) · Repo · Changelog

Release Notes

4.2.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ thor (indirect, 1.2.1 → 1.3.0) · Repo · Changelog

Release Notes

1.3.0

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ timeout (indirect, 0.3.2 → 0.4.1) · Repo

Release Notes

0.4.1

More info than we can show here.

0.4.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ websocket-driver (indirect, 0.7.5 → 0.7.6) · Repo · Changelog

Release Notes

0.7.6 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ zeitwerk (indirect, 2.6.7 → 2.6.12) · Repo · Changelog

Release Notes

2.6.12 (from changelog)

More info than we can show here.

2.6.11 (from changelog)

More info than we can show here.

2.6.10 (from changelog)

More info than we can show here.

2.6.9 (from changelog)

More info than we can show here.

2.6.8 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Aug 23, 2023
@depfu depfu bot force-pushed the depfu/update/group/rails-6.1.7.6 branch 2 times, most recently from d3fde27 to 0ebca37 Compare January 3, 2024 01:45
@depfu depfu bot force-pushed the depfu/update/group/rails-6.1.7.6 branch from 0ebca37 to 53861f5 Compare January 10, 2024 16:30
@depfu depfu bot force-pushed the depfu/update/group/rails-6.1.7.6 branch from 53861f5 to 0427c57 Compare January 10, 2024 16:45
@yoldas yoldas merged commit 5d94132 into develop Jan 10, 2024
4 checks passed
@yoldas yoldas deleted the depfu/update/group/rails-6.1.7.6 branch January 10, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant